home *** CD-ROM | disk | FTP | other *** search
- Path: news.nstn.ca!news
- From: dave@highlander.cbnet.ns.ca (Dave Nugent)
- Newsgroups: comp.lang.c
- Subject: How do I make a .QLB from a .LIB?
- Date: 18 Apr 1996 02:23:39 GMT
- Organization: NSTN Windows User
- Message-ID: <4l493b$6j3@news.nstn.ca>
- NNTP-Posting-Host: dialup15.cbnet.ns.ca
- X-Newsreader: WinVN version 0.82
-
-
- How can I make a Quick Basic Library (QLB) From a LIB I create
- in Borlands C? Here's What I tried...
-
- file "test.c"
- -----------------------------------------
- #include<stdio.h>
- print_it( ) { printf("test"); }
- -----------------------------------------
- I compile this file to an obj (test.obj) and then use tlib to make it into a library
- file(test.lib). This works fine.
-
- Then I am trying to use the DOS (Older) LINK Command to change it.
- LINK test.lib/Q/SE:1024,test.QLB,NUL,BQLB45.
-
- This gives me an error of:
- unresolved external _printf
-
- Why is this? Why would the linker think the printf is external when it
- should have been included in the original test.obj file created when me.c
- was compiled.
-
- Appreciate any help or suggestions..
- Thanks..
-
-